EntryChecker

wrapper interface for 2 basic validation interfaces

  • validate updates

  • correct errors

Author

fzzyhmstrs

Since

0.2.0

Parameters

T

the non-null type of the Entry stored value

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Impl<T>(validator: EntryValidator<T>, corrector: EntryCorrector<T>) : EntryChecker<T>

Functions

Link copied to clipboard

Corrects an attempted input, as possible. When correction isn't possible or deterministic, simply validate the entry the same way you would for EntryValidator

Link copied to clipboard

Validates an input per the provided validation type.